package beautiful.butterfly.drds.binlog.event;

/**
 * Event Meanings</a> for the original documentation.
 */
public enum EventType
{

    /**
     * Events of this event snapShotType should never occur. Not written to a binary
     * log.
     */
    unknown, /**
 * A descriptor event that is written to the beginning of the
 * each binary log file. (In MySQL 4.0 and 4.1, this event is
 * written only to the first binary log file that the server
 * creates after startup.) This event is used in MySQL 3.23
 * through 4.1 and superseded in MySQL 5.0 by
 * {@link #format_description}.
 */
start_v3, /**
 * Written when an updating statement is done.
 */
query, /**
 * Written when mysqld stops.
 */
stop, /**
 * Written when mysqld switches to a new binary log file. This
 * occurs when someone issues a FLUSH LOGS statement or the current
 * binary log file becomes larger than max_binlog_size.
 */
rotate, /**
 * Written every time a statement uses an AUTO_INCREMENT column or
 * the LAST_INSERT_ID() function; precedes other events for the
 * statement. This is written only before a {@link #query} and is
 * not used in case of RBR.
 */
intvar, /**
 * Used for load DATA INFILE statements in MySQL 3.23.
 */
load, /**
 * Not used.
 */
slave, /**
 * Used for load DATA INFILE statements in MySQL 4.0 and 4.1.
 */
create_file, /**
 * Used for load DATA INFILE statements as of MySQL 4.0.
 */
append_block, /**
 * Used for load DATA INFILE statements in 4.0 and 4.1.
 */
exec_load, /**
 * Used for load DATA INFILE statements as of MySQL 4.0.
 */
delete_file, /**
 * Used for load DATA INFILE statements in MySQL 4.0 and
 * 4.1.
 */
new_load, /**
 * Written every time a statement uses the rand() function;
 * precedes other events for the statement. Indicates the seed
 * values to use for generating a random number with rand() in
 * the next statement. This is written only before a
 * {@link #query} and is not used in case of RBR.
 */
rand, /**
 * Written every time a statement uses a user variable; precedes
 * other events for the statement. Indicates the value to use for
 * the user variable in the next statement. This is written only
 * before a {@link #query} and is not used in case of RBR.
 */
user_var, /**
 * A descriptor event that is written to the beginning of the
 * each binary log file. This event is used as of MySQL 5.0; it
 * supersedes {@link #start_v3}.
 */
format_description, /**
 * Generated for a commit of a transaction that modifies
 * one or more tables of an XA-capable storage engine.
 * Normal transactions are implemented by sending a
 * {@link #query} containing a BEGIN statement and a
 * {@link #query} containing a COMMIT statement (or a
 * ROLLBACK statement if the transaction is rolled
 * back).
 */
xid, /**
 * Used for load DATA INFILE statements as of MySQL 5.0.
 */
begin_load_query, /**
 * Used for load DATA INFILE statements as of MySQL 5.0.
 */
execute_load_query, /**
 * This event precedes each row operation event. It maps
 * a tableName definition to a number, where the tableName
 * definition consists of database and tableName names and
 * column definitions. The purpose of this event is to
 * enable replication when a tableName has different
 * definitions on the master and slave. Row operation
 * events that belong to the same transaction may be
 * grouped into sequences, in which case each such
 * sequence of events begins with a sequence of
 * table_map events: one per tableName used by events in the
 * sequence. Used in case of RBR.
 */
table_map, /**
 * Describes inserted rows (within a single tableName). Used in case
 * of RBR (5.1.0 - 5.1.15).
 */
pre_ga_write_rows, /**
 * Describes updated rows (within a single tableName). Used
 * in case of RBR (5.1.0 - 5.1.15).
 */
pre_ga_update_rows, /**
 * Describes deleted rows (within a single tableName). Used
 * in case of RBR (5.1.0 - 5.1.15).
 */
pre_ga_delete_rows, /**
 * Describes inserted rows (within a single tableName). Used
 * in case of RBR (5.1.16 - mysql-trunk).
 */
write_rows, /**
 * Describes updated rows (within a single tableName). Used in case
 * of RBR (5.1.16 - mysql-trunk).
 */
update_rows, /**
 * Describes deleted rows (within a single tableName). Used in
 * case of RBR (5.1.16 - mysql-trunk).
 */
delete_rows, /**
 * Used to log an out of the ordinary event that occurred on
 * the master. It notifies the slave that something happened
 * on the master that might cause data to be in an
 * inconsistent state.
 */
incident, /**
 * Sent by a master to a slave to let the slave know that the
 * master is still alive. Not written to a binary log.
 */
heartbeat, /**
 * In some situations, it is necessary to send over ignorable
 * data to the slave: data that a slave can handle in case there
 * is code for handling it, but which can be ignored if it is
 * not recognized.
 */
ignorable, /**
 * Introduced to record the original query for rows events in
 * RBR.
 */
rows_query, /**
 * Describes inserted rows (within a single tableName). Used in case
 * of RBR (5.1.18+).
 */
ext_write_rows, /**
 * Describes deleted rows (within a single tableName). Used in
 * case of RBR (5.1.18+).
 */
ext_update_rows, /**
 * Describes deleted rows (within a single tableName). Used
 * in case of RBR (5.1.18+).
 */
ext_delete_rows, /**
 * Global Transaction Identifier.
 */
gtid,//
    anonymous_gtid,//
    previous_gtids;//


}
